import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from './request/http'
import api from './request/api'
import Vant from 'vant';
import moment from 'moment';
import filters from './filters/index'
import 'vant/lib/index.less';
// import Vconsole from 'vconsole'
Vue.config.productionTip = false
Vue.prototype.$moment = moment
Vue.prototype.$axios = axios
Vue.prototype.$api = api
Vue.prototype.resourceURL = 'http://meiliyun.ganmiaoedu.com/'
Vue.use(Vant);


// const vConsole = new Vconsole()
// Vue.use(vConsole)
// 添加全局过滤器filters
Object.keys(filters).map((fn) => {
  Vue.filter(fn, filters[fn])
})

new Vue({
  router,
  store,

  render: h => h(App)
}).$mount('#app')
